<?php
	class Local extends AppModel {
		public $name = 'Local';
		
		public $hasMany = 'Evento';
		
		public $validate = array(
			'nome' => array(
				'rule' => 'notEmpty'
			),
			'rua' => array(
				'rule' => 'notEmpty'
			),
			'cep' => array(
				'rule' => 'notEmpty'
			)
		);
	}
?>